package com.msb.commons.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: chshh
 * @version: 1.0
 */
@AllArgsConstructor
public enum CommonStatusEnum {

    VERIFICATION_CODE_ERROR(1099,"验证码不正确"),
    SUCCESS(1,"success"),
    FAIL(0,"fail"),
    TOKEN_ERROR(1199,"token错误"),
    USER_NOT_EXISTS(1299,"当前用户不存在"),
    PRICE_RULE_EMPTY(1399,"计价规则不存在"),
    PRICE_RULE_EXISTS(1398,"计价规则存在,不允许添加"),
    PRICE_RULE_NOT_EDIT(1397,"计价规则无变化"),
    PRICE_RULE_EDIT(1397,"计价规则有变化"),
    MAP_DISTRICT_ERROR(1499,"请求地图错误"),
    DRIVER_CAR_BIND_NOT_EXISTS(1599,"司机和车辆绑定关系不存在"),
    DRIVER_NOT_EXISTS(1598,"司机不存在"),
    ORDER_GOING_ON(1699,"有正在进行的订单"),
    DEVICE_IS_BLACK(1698,"该设备超过下单次数"),
    CITY_SERVICE_NOT(1697,"当前城市不提供打车服务"),
    CITY_SERVICE_NOT_DRIVER(1696,"当前城市暂没有司机"),
    AVAILABLE_DRIVER_EMPTY(1695,"没有可用司机")

    ;
    @Getter
    private int code;
    @Getter
    private String value;
}
